package com.sisgr.modelo;

import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import org.springframework.stereotype.Component;

/**
 * @author Alessandro
 */
@Component
@Entity
@Table(name="colaborador")
public class Colaborador {

    //ATRIBUTOS
    
    @Id
    @Column(name = "id")
    private String id;
    
    @Column(name = "name")
    private String name;
    
    @Column(name = "given_name")
    private String given_name;
    
    @Column(name = "family_name")
    private String family_name;
    
    @Column(name = "link")
    private String link;
    
    @Column(name = "picture")
    private String picture;
    
    @Column(name = "gender")
    private String gender;
    
    @Column(name = "birthday")
    private String birthday;
    
    @Column(name = "locale")
    private String locale;
    
    private List<Reuniao> reunioes;
    private List<Contato> contatos;
    private List<Cronograma> cronograma;

    //GETTERS & SETTERS
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGiven_name() {
        return given_name;
    }

    public void setGiven_name(String given_name) {
        this.given_name = given_name;
    }

    public String getFamily_name() {
        return family_name;
    }

    public void setFamily_name(String family_name) {
        this.family_name = family_name;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getLocale() {
        return locale;
    }

    public void setLocale(String locale) {
        this.locale = locale;
    }

    public List<Reuniao> getReunioes() {
        return reunioes;
    }

    public void setReunioes(List<Reuniao> reunioes) {
        this.reunioes = reunioes;
    }

    public List<Contato> getContatos() {
        return contatos;
    }

    public void setContatos(List<Contato> contatos) {
        this.contatos = contatos;
    }

    public List<Cronograma> getCronograma() {
        return cronograma;
    }

    public void setCronograma(List<Cronograma> cronograma) {
        this.cronograma = cronograma;
    }
}
